﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.MODEL.FactoryTool;
using MINERP.DAL.FactoryTool;
using MINERP.MODEL.FoundationModel;

namespace MINERP.BLL.FactoryTool
{
    public class FactoryToolBLL
    {
        FactoryToolDAL _dal = new FactoryToolDAL();
        public FTOrderInfo_Info GetOrderInfo(int inBarCode)
        {
            return _dal.GetOrderInfo(inBarCode);
        }
        public List<FactorySubOrderDescription_Info> GetAllDes()
        {
            return _dal.GetAllDes();
        }
        public int DeleteSubOrder(FSFactorySubOrderInfo_Info info,out List<FSFactorySubOrderInfo_Info> outList )
        {
            
            return _dal.DeleteSubOrder(info,out outList);
        }
        public int InsertSubOrders(FTOrderInfo_Info InOrder)
        {
            return _dal.InsertSubOrder(InOrder);
        }
    }
}
